package org.springblade.rules.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

@Data
public class RuleEvaluateRequest {

    @Schema(description = "规则编码")
    private String ruleCode;

    @Schema(description = "规则版本，空则使用最新版")
    private Integer version;

    @Schema(description = "入参：用户输入特征，如身份证号、手机号等")
    private Map<String, Object> inputFeatures;

    @Schema(description = "第三方渠道编码，用于拉取特征")
    private String channelCode;

    @Schema(description = "第三方产品编码，用于拉取特征")
    private String productCode;
}


